package cn.zjweu.service.impl;

import cn.zjweu.dao.ManagerDao;
import cn.zjweu.dao.impl.ManagerDaoImpl;
import cn.zjweu.domain.Manager;
import cn.zjweu.service.ManagerService;

public class ManagerServiceImpl implements ManagerService {

    private ManagerDao managerDao = new ManagerDaoImpl();

    @Override
    public Manager findAdByNameAndPWD(String username, String password) {
        return managerDao.findAdByNameAndPWD(username, password);
    }
}
